package SE2;

import static org.junit.Assert.*;

import org.junit.After;
import org.junit.AfterClass;
import org.junit.Before;
import org.junit.BeforeClass;
import org.junit.Test;

public class ProductAtStoreTest {

	ProductAtStore pas;
	@BeforeClass
	public static void setUpBeforeClass() throws Exception {
	}

	@AfterClass
	public static void tearDownAfterClass() throws Exception {
	}

	@Before
	public void setUp(){
		pas = new ProductAtStore();
	}

	@After
	public void tearDown() throws Exception {
	}

	@Test
	public void testGetName() {
		setUp();
		pas.setName("Name");
		assertEquals("Name", pas.getName());
		//fail("Not yet implemented");
	}

	@Test
	public void testSetName() {
		setUp();
		pas.setName("Name");
		assertEquals("Name", pas.getName());
		//fail("Not yet implemented");
	}

	@Test
	public void testGetDescription() {
		setUp();
		pas.setDescription("Description");
		assertEquals("Description", pas.getDescription());
		//fail("Not yet implemented");
	}

	@Test
	public void testSetDescription() {
		setUp();
		pas.setDescription("Description");
		assertEquals("Description", pas.getDescription());
		//fail("Not yet implemented");
	}

	@Test
	public void testGetPlace() {
		setUp();
		pas.setPlace("Place");
		assertEquals("Place", pas.getPlace());
		//fail("Not yet implemented");
	}

	@Test
	public void testSetPlace() {
		setUp();
		pas.setPlace("Place");
		assertEquals("Place", pas.getPlace());
		//fail("Not yet implemented");
	}

	@Test
	public void testGetAmount() {
		setUp();
		pas.setAmount(1);
		assertEquals(1, pas.getAmount());
		//fail("Not yet implemented");
	}

	@Test
	public void testSetAmount() {
		setUp();
		pas.setAmount(1);
		assertEquals(1, pas.getAmount());
		//fail("Not yet implemented");
	}

}
